package com.thomas.generator.vo;

/**
 * @author xutao
 * @Package com.thomas.generator
 * @Description: ${todo}
 * @date 2019/12/11 11:43
 */
public class Model {
    private String name;
    private String msg;
    private String type;
    private String remarks;
    private String upName;

    private String originalName;
    private String sqlType;
    private String jdbcType;

    private Integer max;



    public Model(String name, String msg) {
        super();
        this.name = name;
        this.msg = msg;
    }



    public Model(String name, String msg, String type, String remarks) {
        super();
        this.name = name;
        this.msg = msg;
        this.type = type;
        this.remarks = remarks;
    }



    public Model(String name, String msg, String type, String remarks,
                 String upName) {
        super();
        this.name = name;
        this.msg = msg;
        this.type = type;
        this.remarks = remarks;
        this.upName = upName;
    }



    public Model(String name, String msg, String type, String remarks,
                 String upName, String originalName,String sqlType,String jdbcType) {
        super();
        this.name = name;
        this.msg = msg==null?"":msg;
        this.type = type;
        this.remarks = remarks==null?"":remarks;
        this.upName = upName;
        this.originalName = originalName;
        this.sqlType = sqlType;
        this.jdbcType = jdbcType;
    }



    public Model() {
        super();
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }



    public String getOriginalName() {
        return originalName;
    }



    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }



    public String getUpName() {
        return upName;
    }



    public void setUpName(String upName) {
        this.upName = upName;
    }



    public Integer getMax() {
        return max;
    }



    public void setMax(Integer max) {
        this.max = max;
    }



    public String getSqlType() {
        return sqlType;
    }



    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }



    public String getJdbcType() {
        return jdbcType;
    }



    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType;
    }

}
